package com.yh.service;

import java.util.List;
import java.util.Map;

import com.yh.bean.Rules;

public interface RulesService {

	//新增制度； 
	  public abstract int  addRules(Rules rule);
	  //删除制度
	  public abstract int  deleteRules(Rules rule);
	  //批量删除
	  public abstract int  deleteArrayRules(int [] array);
	  //查询制度
	  public abstract Map queryRules(Rules rule ,int curr);
	  //更改制度
	  public abstract int  updateRules(Rules rule);
	
	
	
	
}
